<?php
class Default_IndexController extends My_Controller_Action{
	public function init() {
        $template_path = TEMPLATE_PATH . "/public";

        $this->loadTemplate($template_path, 'template.ini', 'template');
		

    }
    
	public function indexAction(){ 
		$product = new Default_Model_Product();
		$list_product = $product->getProNew();
		
		$this->view->list_product = $list_product;
	}
	public function errorAction(){
		
	}	
}